.class public abstract Lcom/brixd/niceapp/activity/fragment/AbsBaseFragment;
.super Landroid/support/v4/app/Fragment;
.source "AbsBaseFragment.java"


# instance fields
.field protected mHandler:Landroid/os/Handler;


# direct methods
.method public constructor <init>()V
    .registers 2

    .prologue
    .line 11
    invoke-direct {p0}, Landroid/support/v4/app/Fragment;-><init>()V

    .line 13
    new-instance v0, Landroid/os/Handler;

    invoke-direct {v0}, Landroid/os/Handler;-><init>()V

    iput-object v0, p0, Lcom/brixd/niceapp/activity/fragment/AbsBaseFragment;->mHandler:Landroid/os/Handler;

    return-void
.end method


# virtual methods
.method protected getScreenDisplayMetrics()Landroid/util/DisplayMetrics;
    .registers 3

    .prologue
    .line 44
    new-instance v0, Landroid/util/DisplayMetrics;

    invoke-direct {v0}, Landroid/util/DisplayMetrics;-><init>()V

    .line 45
    .local v0, "dm":Landroid/util/DisplayMetrics;
    invoke-virtual {p0}, Lcom/brixd/niceapp/activity/fragment/AbsBaseFragment;->getActivity()Landroid/support/v4/app/FragmentActivity;

    move-result-object v1

    invoke-virtual {v1}, Landroid/support/v4/app/FragmentActivity;->getWindowManager()Landroid/view/WindowManager;

    move-result-object v1

    invoke-interface {v1}, Landroid/view/WindowManager;->getDefaultDisplay()Landroid/view/Display;

    move-result-object v1

    invoke-virtual {v1, v0}, Landroid/view/Display;->getMetrics(Landroid/util/DisplayMetrics;)V

    .line 46
    return-object v0
.end method

.method protected abstract initActions(Landroid/view/View;)V
.end method

.method protected abstract initData()V
.end method

.method protected abstract initViews(Landroid/view/LayoutInflater;)Landroid/view/View;
.end method

.method public onActivityCreated(Landroid/os/Bundle;)V
    .registers 2
    .param p1, "savedInstanceState"    # Landroid/os/Bundle;

    .prologue
    .line 33
    invoke-super {p0, p1}, Landroid/support/v4/app/Fragment;->onActivityCreated(Landroid/os/Bundle;)V

    .line 34
    invoke-virtual {p0}, Lcom/brixd/niceapp/activity/fragment/AbsBaseFragment;->onViewPostInit()V

    .line 35
    return-void
.end method

.method public onCreate(Landroid/os/Bundle;)V
    .registers 2
    .param p1, "savedInstanceState"    # Landroid/os/Bundle;

    .prologue
    .line 17
    invoke-super {p0, p1}, Landroid/support/v4/app/Fragment;->onCreate(Landroid/os/Bundle;)V

    .line 18
    invoke-virtual {p0}, Lcom/brixd/niceapp/activity/fragment/AbsBaseFragment;->initData()V

    .line 19
    return-void
.end method

.method public onCreateView(Landroid/view/LayoutInflater;Landroid/view/ViewGroup;Landroid/os/Bundle;)Landroid/view/View;
    .registers 5
    .param p1, "inflater"    # Landroid/view/LayoutInflater;
    .param p2, "container"    # Landroid/view/ViewGroup;
    .param p3, "savedInstanceState"    # Landroid/os/Bundle;

    .prologue
    .line 25
    invoke-super {p0, p1, p2, p3}, Landroid/support/v4/app/Fragment;->onCreateView(Landroid/view/LayoutInflater;Landroid/view/ViewGroup;Landroid/os/Bundle;)Landroid/view/View;

    .line 26
    invoke-virtual {p0, p1}, Lcom/brixd/niceapp/activity/fragment/AbsBaseFragment;->initViews(Landroid/view/LayoutInflater;)Landroid/view/View;

    move-result-object v0

    .line 27
    .local v0, "view":Landroid/view/View;
    invoke-virtual {p0, v0}, Lcom/brixd/niceapp/activity/fragment/AbsBaseFragment;->initActions(Landroid/view/View;)V

    .line 28
    return-object v0
.end method

.method protected onViewPostInit()V
    .registers 1

    .prologue
    .line 41
    return-void
.end method
